package edu.hm.vss.diningphilosophers;

public class GiveAndGetForkThread extends Thread {
    private Fork myFork;
    GiveAndGetForkThread( Fork thisFork ) {
        myFork = thisFork;
    }
    public void run() {
        myFork.give();
        myFork.get();
    }
}
